package com.kxmall.huishou.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.AddGroup;
import com.kxmall.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 回收员申请信息业务对象 hs_recycler_apply
 *
 * @author kxmall
 * @date 2023-11-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class HsRecyclerApplyBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户id
     */
//    @NotBlank(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 省
     */
    @NotBlank(message = "省不能为空", groups = { AddGroup.class, EditGroup.class })
    private String province;

    /**
     * 市
     */
    @NotBlank(message = "市不能为空", groups = { AddGroup.class, EditGroup.class })
    private String city;

    /**
     * 区县
     */
    @NotBlank(message = "区县不能为空", groups = { AddGroup.class, EditGroup.class })
    private String country;

    /**
     * 身份证号
     */
    @NotBlank(message = "身份证号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String idCard;

    /**
     * 身份证正面
     */
    @NotBlank(message = "身份证正面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imgFrond;

    /**
     * 身份证国徽面
     */
    @NotBlank(message = "身份证国徽面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imgBack;

    /**
     * 0审核中，1审核通过，2审核失败闭
     */
//    @NotNull(message = "0审核中，1审核通过，2审核失败闭不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;


}
